/*    */ package eos.moe.dragoncore;
/*    */ 
/*    */ import com.google.common.collect.Sets;
/*    */ import java.io.ByteArrayInputStream;
/*    */ import java.io.IOException;
/*    */ import java.io.InputStream;
/*    */ import java.util.Set;
/*    */ import net.minecraft.client.resources.AbstractResourcePack;
/*    */ import org.apache.logging.log4j.LogManager;
/*    */ import org.apache.logging.log4j.Logger;
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ public class lv
/*    */   extends AbstractResourcePack
/*    */ {
/* 18 */   public static lv q = new lv();
/* 19 */   private static final Logger g = LogManager.getLogger();
/*    */   
/*    */   public lv() {
/* 22 */     super(null);
/*    */   }
/*    */ 
/*    */   
/*    */   public InputStream func_110591_a(String str) throws IOException {
/* 27 */     str = str.replace("assets/dragoncore/", "");
/* 28 */     str = str.replace(".png.png", ".png");
/* 29 */     if (str.startsWith("/")) {
/* 30 */       str = str.substring(1);
/*    */     }
/*    */ 
/*    */     
/* 34 */     return new ByteArrayInputStream(au.z.v(str).v());
/*    */   }
/*    */ 
/*    */   
/*    */   public boolean func_110593_b(String str) {
/* 39 */     str = str.replace("assets/dragoncore/", "");
/* 40 */     str = str.replace(".png.png", ".png");
/* 41 */     if (str.startsWith("/")) {
/* 42 */       str = str.substring(1);
/*    */     }
/* 44 */     gz gz = au.z.v(str);
/* 45 */     return (gz != null && gz.v() != null);
/*    */   }
/*    */ 
/*    */   
/*    */   public Set<String> func_110587_b() {
/* 50 */     return Sets.newHashSet((Object[])new String[] { "dragoncore" });
/*    */   }
/*    */   
/*    */   public String func_130077_b() {
/* 54 */     return "dragoncore";
/*    */   }
/*    */   
/*    */   public void func_110594_c(String str) {
/* 58 */     g.warn("ResourcePack: ignored non-lowercase namespace: {} in {}", str, "dragoncore");
/*    */   }
/*    */ }


/* Location:              D:\fanbian\[D][龙之核心]DragonCore-2.6.0.3.jar!\eos\moe\dragoncore\lv.class
 * Java compiler version: 8 (52.0)
 * JD-Core Version:       1.1.3
 */